package usb;

public class Test02 {
    public static void main(String[] args) {
        int num1 = 1;
        int num2=0;
        while (num1<5){
            num2+=num1;
            num1++;
        }
        System.out.println(num2);
    }
}
